package cn.com.nes.site.service.crm.opportunity;

import cn.com.nes.mybatis.agent.crm.entity.OpportunityDeviceModel;
import cn.com.nes.site.service.crm.opportunity.bo.OpportunityDeviceModelBo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface OpportunityDeviceModelService extends IService<OpportunityDeviceModel> {

    /**
     * 批量保存
     * @param opportunityDeviceModelBo
     * @throws Exception
     */
    void saveBatch(OpportunityDeviceModelBo opportunityDeviceModelBo) throws Exception;


    /**
     * 查询设备型号范围
     * @param opportunityUuid 商务项目UUID
     * @return
     */
    List<OpportunityDeviceModel> getDeviceModels(String opportunityUuid) throws Exception;

}
